package com.hns.can.report.entity;

import com.hns.can.common.entity.BaseEntity;

import javax.persistence.*;
import java.math.BigDecimal;

/**
 * Created by JeffXu on 2017-02-15.
 */
@Entity
@Table(name = "T_MOD_TY_BAD_BHV_BENC")
public class ModTyBadBhvBencEntity extends BaseEntity {
    private String corpId;
    private String lineId;
    private String areaId;
    private String areaType;
    private String badBhvId;
    private BigDecimal meanVal;
    private BigDecimal threVal;
    private BigDecimal threLasTim;
    private BigDecimal timePeriod;

    @Transient
    private String lineName;
    @Transient
    private String badBhvName;
    @Transient
    private String lineTy;
    @Transient
    private String areaName;

    @Id
    @Column(name = "CORP_ID")
    public String getCorpId() {
        return corpId;
    }

    public void setCorpId(String corpId) {
        this.corpId = corpId;
    }

    @Column(name = "LINE_ID")
    public String getLineId() {
        return lineId;
    }

    public void setLineId(String lineId) {
        this.lineId = lineId;
    }

    @Column(name = "AREA_ID")
    public String getAreaId() {
        return areaId;
    }

    public void setAreaId(String areaId) {
        this.areaId = areaId;
    }

    @Column(name = "AREA_TYPE")
    public String getAreaType() {
        return areaType;
    }

    public void setAreaType(String areaType) {
        this.areaType = areaType;
    }

    @Column(name = "BAD_BHV_ID")
    public String getBadBhvId() {
        return badBhvId;
    }

    public void setBadBhvId(String badBhvId) {
        this.badBhvId = badBhvId;
    }

    @Column(name = "MEAN_VAL")
    public BigDecimal getMeanVal() {
        return meanVal;
    }

    public void setMeanVal(BigDecimal meanVal) {
        this.meanVal = meanVal;
    }

    @Column(name = "THRE_VAL")
    public BigDecimal getThreVal() {
        return threVal;
    }

    public void setThreVal(BigDecimal threVal) {
        this.threVal = threVal;
    }

    @Column(name = "THRE_LAS_TIM")
    public BigDecimal getThreLasTim() {
        return threLasTim;
    }

    public void setThreLasTim(BigDecimal threLasTim) {
        this.threLasTim = threLasTim;
    }

    @Column(name = "TIME_PERIOD")
    public BigDecimal getTimePeriod() {
        return timePeriod;
    }

    public void setTimePeriod(BigDecimal timePeriod) {
        this.timePeriod = timePeriod;
    }

    public String getLineName() {
        return lineName;
    }

    public void setLineName(String lineName) {
        this.lineName = lineName;
    }

    public String getBadBhvName() {
        return badBhvName;
    }

    public void setBadBhvName(String badBhvName) {
        this.badBhvName = badBhvName;
    }

    public String getLineTy() {
        return lineTy;
    }

    public void setLineTy(String lineTy) {
        this.lineTy = lineTy;
    }

    public String getAreaName() {
        return areaName;
    }

    public void setAreaName(String areaName) {
        this.areaName = areaName;
    }
}